package com.cskaoyan.module.vo.goods;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * test
 *
 * @param
 * @return
 * @2022/4/8
 **/
@NoArgsConstructor
@Data
public class test {
    @JsonProperty("categoryList")
    private List<CategoryListDTO> categoryList;
    @JsonProperty("brandList")
    private List<BrandListDTO> brandList;

    @NoArgsConstructor
    @Data
    public static class CategoryListDTO {
        @JsonProperty("value")
        private Integer value;
        @JsonProperty("label")
        private String label;
        @JsonProperty("children")
        private List<ChildrenDTO> children;

        @NoArgsConstructor
        @Data
        public static class ChildrenDTO {
            @JsonProperty("value")
            private Integer value;
            @JsonProperty("label")
            private String label;
        }
    }

    @NoArgsConstructor
    @Data
    public static class BrandListDTO {
        @JsonProperty("value")
        private Integer value;
        @JsonProperty("label")
        private String label;
    }
}
